/**
 * Created by liuxiaofan on 2017/7/20.
 */
export default {
  // 查询告警追踪信息
  alarmTraceList: {
    url: '/alarmmanage/alarm/trace/list',
    method: 'GET'
  },
  // 根据ID查询告警追踪信息
  alarmTraceById: {
    url: '/alarmmanage/alarm/trace',
    method: 'GET'
  },
  // 查询告警级别
  alarmLevels: {
    url: '/alarmmanage/alarm/levels',
    method: 'GET'
  },
  // 策略信息新增
  strategySave: {
    url: '/alarmmanage/strategy/save',
    method: 'POST'
  },
  // 查询监控指标列表
  alarmItem: {
    url: '/alarmmanage/item/query',
    method: 'GET'
  },
  // 策略信息修改
  alarmUpdate: {
    url: '/alarmmanage/alarmstrategy/update',
    method: 'POST',
  },
  // 根据code删除策略信息
  delAlarmByCode: {
    url: '/alarmmanage/alarmstrategy/del',
    method: 'GET'
  },
  alarmGetOne: {
    url: '/alarmmanage/alarmstrategy/getOne',
    method: 'GET'
  },
  strategyUpdate: {
    url: '/alarmmanage/strategy/update',
    method: 'POST',
  },
  // 根据code删除策略信息
  delStrategyByCode: {
    url: '/alarmmanage/strategy/del',
    method: 'GET'
  },
  strategyGetOne: {
    url: '/alarmmanage/strategy/getOne',
    method: 'GET'
  },
  // 按名称查询策略信息以及所有列表
  searchStrategyName: {
    url: '/alarmmanage/strategy/query',
    method: 'GET',
  },
  // 查询系统探针信息
  sysAgentList: {
    url: '/alarmmanage/sysAgent/list',
    method: 'GET'
  },
  // 根据系统或探针id查询可添加策略
  sysGetAvailable: {
    url: '/alarmmanage/sysStrategy/getAvailable',
    method: 'GET'
  },
  // 系统或探针关联策略保存
  sysStrategySave: {
    url: '/alarmmanage/sysStrategy/save',
    method: 'POST'
  },
  // 系统或者探针关联策略解除(删除关联)
  
  sysStrategyDel: {
    url: '/alarmmanage/sysStrategy/del',
    method: 'POST'
  },
  // 查询系统或者探针关联策略列表
  sysStrategyGetById: {
    url: '/alarmmanage/sysStrategy/get',
    method: 'GET'
  },
  // 查询系统列表信息
  getSysMenuList: {
    url: '/alarmmanage/sysStrategy/getMenuList',
    method: 'GET'
  },
  // 根据rulecode删除策略的规则
  delStrategyRuleByCode: {
    url: '/alarmmanage/strategy/delRule',
    method: 'GET'
  },
  // 查询告警发送设置
  alarmSendConfig: {
    url: '/alarmmanage/alarm/send/config/',
    method: 'GET'
  },
  alarmPostSendConfig: {
    url: '/alarmmanage/alarm/send/config',
    method: 'POST'
  },
  // 查询策略名称是否重复接口
  strategyCheckNameExist: {
    url: '/alarmmanage/strategy/checkNameExist',
    method: 'GET'
  },
  logout: {
	  url: '/user/logout'
  },
  //告警配置中的告警列表
  alarmConfigListData: {
    url: ' /alarmmanage/alarm/list',
    method: 'GET'
  },
  //告警配置中的启用停止
  alarmStartStop: {
    url: '/alarmmanage/alarm/updateStatus',
    method: 'POST'
  },
  //告警配置中的告警删除
  alarmDelete: {
    url: ' /alarmmanage/alarm/del/',
    method: 'POST'
  },
  //告警配置中的根据告警ID查询告警信息
  alarmSearchId: {
    url: '/alarmmanage/alarm/get/',
    method: 'GET'
  } 
}